<extend name="Index:base" />
<block name="title"><title>清理缓存</title></block>
<block name="style">
 <style>
.main,.panel-default>.panel-heading{
background: #e6e8ea;
}
 </style>
</block>
	<!-- start: Header -->
<block name="body">
			<!-- end: Main Menu -->
						
		<!-- start: Content -->
		<div class="main ">
		
			<div class="row">
				<div class="col-lg-12">
					<h3 class="page-header"><i class="fa fa-life-bouy"></i>清理缓存</h3>
					<ol class="breadcrumb">
						<li><i class="fa fa-home"></i><a href="{:U('Admset/adminset')}">设置</a></li>
						<li><i class="fa fa-list-alt"></i><a href="#">清理缓存</a></li>			
					</ol>
				</div>
			</div>

			<div class="row">		
				<div class="col-lg-12">
					<div class="panel panel-default">

						<div class="panel-body">
							<form action="" method="post" class="form-horizontal" >
								<input type="hidden" id="all_cache" name="all_cache" value="cache"> 
								<div class="form-group">
				                    <div class="col-md-9">
				                        <label class="checkbox-inline" for="inline-checkbox1">
				                        	<input type="checkbox" id="checkall" > 全部
				                        </label>
				                    </div>
				                </div> <br/> 
								<div class="form-group">

				                    <div class="col-md-9">
				                        <label class="checkbox-inline" for="inline-checkbox1">
				                        	<input type="checkbox" id="shop_cache" name="shop_cache" value="1"> 商城缓存
				                        </label>
				                        <label class="checkbox-inline" for="inline-checkbox2">
				                        	<input type="checkbox" id="net_cache" name="net_cache" value="2"> 网站缓存
				                        </label>

				                    </div>
				                </div>  <br/> 
								
								<div class="form-group">

				                    <div class="col-md-9">
										<button class="btn btn-primary mypost" type="sunmit">确认</button>
				                    </div>
				                </div>
							  
							</form>			
						</div>
					</div>
				</div><!--/col-->
			
			</div><!--/row-->				
			
		<!-- end: Content -->
		<br><br><br>
		
	</div><!--/container-->
	
</block>
<block name="script">
<script>
$("#checkall").click( 
  function(){ 
    if(this.checked){ 
        $('input[type="checkbox"]').attr('checked', true)
    }else{ 
        $('input[type="checkbox"]').attr('checked', false)
    } 
  } 
);

</script>
</block>	









